import request from '@/utils/request'

//+++++++++++++++++++++++++++++++++++++++++消息存档++++++++++++++++++++++++++++++++++++
//会话存档配置信息
export function getMessage(data?: any) {
  return request({
    url: '/scrm-api/console/riskmonitoring/message/message-config',
    method: 'POST',
    data
  })
}
// 保存
export function messageSave(data: any) {
  return request({
    url: '/scrm-api/console/riskmonitoring/message/message-config-save',
    method: 'POST',
    data
  })
}
// 下载
export function download(data?: any) {
  return request({
    url: '/scrm-api/console/riskmonitoring/message/key-download',
    method: 'get'
  })
}
